home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Tools / splat / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  2.0 KB  |  100 lines

  1. # splat Makefile
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Tools/splat/RCS/Makefile,v 6.0 1991/12/18 20:32:50 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:32:50  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =  splat.c ps2pe.c
  21. OBJS =  splat.o ps2pe.o
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. HEADERS         = ../../h
  25. LIBPP           = ../../Lib/libpp.a
  26.  
  27. LDFLAGS        = $(LDOPTIONS) $(LLF)
  28. CFLAGS          =  $(CCOPTIONS) $(LCF) -I$(HEADERS)
  29. LLFLAGS         = $(LINTFLAGS) -I$(HEADERS) -u
  30. LINTLIBS        = ../../Lib/llib-lpp.ln $(LINTISODE)
  31.  
  32.  
  33. ############################################################
  34. #
  35. # Building Rules
  36. #
  37. ############################################################
  38.  
  39. PROGS = xsplat
  40.  
  41. default:        $(PROGS)
  42. all:            default
  43. lint:           l-splat
  44.  
  45. install:        inst-dir inst-splat
  46. inst-dir:       $(TOOLDIR)
  47.  
  48.  
  49. splat: xsplat
  50. xsplat: $(OBJS) $(LIBPP)
  51.         $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBPP) $(LIBSYS)
  52.  
  53. l-splat: $(SRCS)
  54.         $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  55.  
  56.  
  57. inst-splat: $(TOOLDIR)/splat
  58. $(TOOLDIR)/splat: xsplat
  59.         -$(BACKUP) $@ zxsplat
  60.         rm -f $@
  61.         $(INSTALL) xsplat $@
  62.         -$(CHMOD) $(PGMPROT) $@
  63.         -$(CHOWN) $(PPUSER) $@
  64.         -@ls -ls $@
  65.         -@echo "splat tool installed normally"; echo ""
  66.  
  67.  
  68. clean:  tidy
  69.         rm -f $(OBJS)
  70. tidy:
  71.         rm -f core.* $(PROGS) zx* *.old *.BAK
  72.  
  73. depend:
  74.         $(DEPEND) -I$(HEADERS) $(SRCS)
  75.  
  76. define:
  77.         $(DEFINE) Makefile
  78.  
  79.  
  80. ############################################################
  81. #
  82. # End of building rules
  83. #
  84. ############################################################
  85.  
  86. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  87. # Dependencies follow
  88. splat.o: splat.c
  89. splat.o: ../../h/util.h
  90. splat.o: ../../h/config.h
  91. splat.o: ../../h/ll_log.h
  92. splat.o: splat.c
  93. splat.o: ../../h/util.h
  94. splat.o: ../../h/config.h
  95. splat.o: ../../h/ll_log.h
  96.  
  97. # DEPENDENCIES MUST END AT END OF FILE
  98. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  99. # see make depend above
  100.